<admintpl file="header" />
</head>
<body>
<div class="wrap" style="padding-bottom: 0px">
    <form method="post" class="js-ajax-form">
        <table class="table table-hover table-bordered">
            <thead>
            <tr>
                <th align="center">序号</th>
                <th>所属团队</th>
                <th>跑客姓名</th>
                <th>电话</th>
                <th>位置</th>
                <th>位置时间</th>
                <th>未完成订单数</th>
            </tr>
            </thead>
            <tbody>
            <foreach name="lists" item="vo" key="k">
                <tr>
                    <td align="center">{$k+1}</td>
                    <td>{$vo['company_id']|getCompanyName}</td>
                    <td>{$vo['dispatch_name']}</span></td>
                    <td>{$vo['mobile']}</td>
                    <td>{$vo['lat']|get_route_address=$vo['lon']}</td>
                    <td>{$vo['place_up_time']}</td>
                    <td>{$vo[id]|get_no_finish_order}</td>
                </tr>
            </foreach>
            </tbody>
        </table>
        <if condition="empty($lists)">
            <div style="padding: 30px;text-align: center;color: #999999">
                <i class="fa fa-database" style="font-size: 38px"></i><br />
                暂无数据
            </div>
        </if>
    </form>
</div>
<script src="__PUBLIC__/js/common.js"></script>
<script>
    setCookie('refersh_time', 0);
    function refersh_window() {
        var refersh_time = getCookie('refersh_time');
        if (refersh_time == 1) {
            window.location = "{:U('Bdrunpeople/trun_list',$formget)}";
        }
    }
    setInterval(function() {
        refersh_window();
    }, 2000);
</script>
</body>
</html>